<div >
    <form class="form-horizontal" role="form" novalidate name="stForm" ng-switch on="translate.timeTypeCode.timeTypeCode">
        <div class="form-ctrl md-whiteframe-z1">
            <div class="form-search" style="height:225px;" ng-class="{true: 'shou'}[shoumun==0]" >
                <div>
                    <label style="width:70px">ICCID归属地</label>
                    <md-select multiple ng-model="ICCID.province" >
                        <md-select-label>
                            {{ICCID.province.length ? _getNames(ICCID.province,'provinceName',provinces) :'全部'}}
                        </md-select-label>
                        <md-option ng-value="" ng-click="_checkAll(ICCID,'province')">全部</md-option>
                        <md-option ng-value="province" ng-repeat="province in provinces">{{province.provinceName}}</md-option>
                    </md-select>
                </div>
           </div>
            <i class="glyphicon glyphicon-chevron-up shrinkage" ng-click="shoumun=0"></i>
            <md-button ng-click="queryAllChannel()" ng-click="shoumun==1?shoumun=0:shoumun=1" class="md-fab md-primary md-hue-1" ng-disabled ='stForm.$invalid' aria-label="Profile">
                <i class="glyphicon glyphicon-arrow-down" style="margin-top:28px;" ng-show="shoumun==0"></i>
                <i class="glyphicon glyphicon-search" ng-show="shoumun==1"></i>
            </md-button>
        </div>
    </form>
    <div class="menus table-info">
    <md-button aria-label="列表" class="md-raised ico-btn"   ng-click="lengthSwitch=false">
      <img src="images/tables.png"  >
    </md-button>
    <md-button aria-label="图表" class="md-raised ico-btn"   ng-click="lengthSwitch=true">
      <img src="images/charts.png"  >
    </md-button>
  </div>
    <div style="text-align: center" >
       <h3 style="margin-top:0;font-size:large;font-weight:bold;color:black" ng-show='!lengthSwitch'>
                  按IMMIS归属地统计ICCID使用率
      </h3>
       <h3 style="margin-top:0;font-size:large;font-weight:bold;color:black" ng-show='lengthSwitch'>
                  按IMMIS归属地统计ICCID使用率
      </h3>
      </div>
    <div class="table-info"   ng-show='!lengthSwitch'>
        <div>
            <div class="table-detail">
                <div class="t_r">
                    <table class="table table-bordered">
                        <thead>
                        <tr>
                            <th width="10%">归属地</th>
                            <th width="10%" >所属卡商</th>
                            <th width="10%" >已申请ICCID量</th>
                            <th width="10%" >已使用ICCID量</th>
                            <th width="10%" >未使用ICCID量</th>
                            <th width='10%'>ICCID使用%</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr ng-repeat="item in items">
                            <td width="10%"  >{{item.provinceName}}</td>
                            <td width="10%"  >{{item.theirMerchant}}</td>
                            <td width="10%"  >{{item.applicationAlready }}</td>
                            <td width="10%" >{{item.hasBeen }}</td>
                            <td width="10%" >{{item.unused }}</td>
                            <td width="10%" >{{item.utilization}}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <div id="pboss" style='height:550px;padding-bottom:20px'></div>
    </div>
        <div  ng-show='lengthSwitch===true'  id="main" style="height:400px"></div> 
</div>
